package com.freight.message.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.common.core.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 记录用户最后一个消息对象 message_member_last
 * 
 * @author
 * @date 2022-3-17
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("message_member_last")
public class MessageMemberLast implements Serializable {

private static final long serialVersionUID=1L;

    /** 最后消息id */
    @Excel(name = "最后消息id")
    private Long messageId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long memberId;

    /** 创建时间 */
    private Date createTime;

}
